package com.deve.pig.mapper;

import com.deve.pig.model.MerchantGoods;
import com.deve.pig.model.MerchantGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MerchantGoodsMapper {
    int countByExample(MerchantGoodsExample example);

    int deleteByExample(MerchantGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MerchantGoods record);

    int insertSelective(MerchantGoods record);

    List<MerchantGoods> selectByExample(MerchantGoodsExample example);

    MerchantGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MerchantGoods record, @Param("example") MerchantGoodsExample example);

    int updateByExample(@Param("record") MerchantGoods record, @Param("example") MerchantGoodsExample example);

    int updateByPrimaryKeySelective(MerchantGoods record);

    int updateByPrimaryKey(MerchantGoods record);
}